<div class=" definewidth m20">
	<table class="table table-bordered table-hover m10">
		<tr>
			<td class="tableleft">用户名：</td>
			<td><a href="#"><?php echo $info['username']; ?></a></td>
			<td class="tableleft">真实姓名：</td>
			<td>
				<?php if($info['realname']){ echo $info['realname'];}else{echo '未填写';}  ?>(<?php echo isset($statusArr[$info['real_status']]) ? $statusArr[$info['real_status']] : $statusArr['2']; ?>)
			</td>
		</tr>
		<tr>
			<td class="tableleft">邮箱：</td>
			<td >
				<?php if($info['email']){ echo $info['email'];}else{echo '未填写';}  ?>(<?php echo isset($statusArr[$info['email_status']]) ? $statusArr[$info['email_status']] : $statusArr['2']; ?>)
			</td>
			<td class="tableleft">VIP：</td>
			<td ><?php echo isset($statusArr[$info['vip_status']]) ? $statusArr[$info['vip_status']] : $statusArr['0']; ?></td>
		</tr>
		<tr>
			<td class="tableleft">手机：</td>
			<td><?php if($info['phone']){ echo $info['phone'];}else{echo '未填写';}  ?>(<?php echo isset($statusArr[$info['phone_status']]) ? $statusArr[$info['phone_status']] : $statusArr['2']; ?>)</td>
			<td class="tableleft">性别：</td>
			<td><?php if($info['sex']){ echo $sex[$info['sex']];}else{echo '未填写';}  ?></td>
		</tr>
		<tr>
			<td class="tableleft">等级：</td>
			<td><img title="<?php echo isset($u_credit['credit_value']) ? $u_credit['credit_value'] : 0;?>分" src="/static/credit/<?php echo isset($u_credit['pic']) ? $u_credit['pic'] : 'lv1.png';?>"></td>
			<td class="tableleft">用户积分：</td>
			<td><a target="_blank" href="/administrator/credit/clistlog/?username=<?php echo $info['username'];?>"><?php echo isset($u_credit['credit_value']) ? $u_credit['credit_value'] : ''; ?>分</a></td>
		</tr>
		<tr>
			<td class="tableleft">证件类型：</td>
			<td><?php if($info['card_type']){ echo $cardType[$info['card_type']];}else{echo '未填写';} ?></td>
			<td class="tableleft">证件号码：</td>
			<td id="view_code"><?php if($info['card_id']){ echo $info['card_id'];}else{echo '未填写';}  ?></td>
		</tr>
		<tr>
			<td class="tableleft">身份证图片：</td>
			<td><a <?php echo $info['card_pic1'] ? "href='/". $info['card_pic1']."'" : '--'; ?> target="_blank"><?php echo $info['card_pic1'] ? "正面" : '无'; ?></a> | <a <?php echo $info['card_pic2'] ? "href='/". $info['card_pic2']."'" : '--'; ?> target="_blank"><?php echo $info['card_pic2'] ? "反面" : '无'; ?></a></td>
			<td class="tableleft">登陆次数：</td>
			<td id="view_qq"><?php echo $info['logintime']; ?>次</td>
		</tr>
		<tr>
			<td class="tableleft">推荐人：</td>
			<td ><?php if($info['invite_userid']){ echo $name_list[$info['invite_userid']];}else{echo '无';} ?></td>
			<td class="tableleft">推荐奖励：</td>
			<td><?php echo intval($info['invite_money']); ?></td>
		</tr>
		<tr>
			<td class="tableleft">注册时间：</td>
			<td ><?php echo date('Y-m-d H:i:s',$info['add_time']); ?></td>
			<td class="tableleft">最后登陆时间：</td>
			<td><?php echo date('Y-m-d H:i:s',$info['lasttime']); ?></td>
		</tr>
	
		<tr>
			<td class="tableleft">是否马甲号：</td>
			<td ><font style="color:red;"><?php if($info['is_self']>0){echo '是';}else{ echo '否';}?></font></td>
			<td class="tableleft">手机验证码：</td>
			<td><?php echo $info['smscode']; ?></td>
		</tr>
	</table>
	<h4>账户信息</h4>
	<table class="table table-bordered table-hover m10">
		<tr>
			<td class="tableleft">银行：</td>
			<td><?php echo @$account_bank[$account_list[0]['bank']];?></td>
			<td class="tableleft">地区：</td>
			<td>
				<?php echo $account_list[0]['province']?$area_list[$account_list[0]['province']]:'';?> | <?php echo $account_list[0]['city']?$area_list[$account_list[0]['city']]:'';?>
			</td>
		</tr>
		<tr>
			<td class="tableleft">开户行：</td>
			<td  >
				<?php echo $account_list[0]['branch'];?>
			</td>
			<td class="tableleft">提现帐号：</td>
			<td ><?php echo $account_list[0]['account'];?></td>
		</tr>
		<tr>
			<td class="tableleft">总额：</td>
			<td  >
				￥<?php echo number_format($account_list[0]['total'],2);?>
			</td>
			<td class="tableleft">可用：</td>
			<td >￥<?php echo number_format($account_list[0]['use_money'],2);?></td>
		</tr>
		<tr>
			<td class="tableleft">冻结：</td>
			<td  >
				￥<?php echo number_format($account_list[0]['no_use_money'],2);?>
			</td>
			<td class="tableleft">代收：</td>
			<td >￥<?php echo number_format($account_list[0]['collection'],2);?></td>
		</tr>
	</table>
	
	<h4>投资列表</h4>
	<table class="table table-bordered table-hover m10">
		<tr >
		    <th>标题</th>
		    <th>投标资金</th>
		    <th>有效资金</th>
		    <th>投标时间</th>
		    <th>状态</th>
		  </tr>
		 <?php if(isset($tender_list) && $tender_list){foreach($tender_list as $tender){?>
		 <tr>
		    <td><a href="/sys_admin/borrow/borrow_view/<?php echo $tender['borrow_id'];?>" target="_blank" ><?php echo $tender['title'];?></a></td>
		    <td><?php echo number_format($tender['money'],2);?>元</td>
		    <td><?php echo number_format($tender['account'],2);?>元</td>
		    <td><?php echo date('Y-m-d',$tender['add_time']);?></td>
		    <td><?php echo "成功";?></td>
	      </tr>
	      <?php }}?>
	</table>
</div>


